<div id="maincol" class="container_16"> 
<h1><?php echo $charter->getNome(); ?></h1>

<div id="elenco" class="grid_11 alpha">    
<?php echo htmlspecialchars_decode($charter->getDescrizione(), ENT_QUOTES); ?><br /><br />
<td valign="top"><img src="<?php echo image_path('/uploads/navi/'.$img) ?>" width="500px">
<br /><br /><br />
<a href="<?php echo url_for('charter_show',$charter) ?>">Indietro</a>
</div>


<div id="img_elenco" class="grid_4 omega">

<?php if($charter->getImmagine1()!=$img):?>

<a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine1().'&id='.$charter->getId()) ?>">
<img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine1()) ?>" width="300px"></a>

<?php endif; ?>
<?php if($charter->getImmagine2() AND $charter->getImmagine2()!=$img):?><a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine2().'&id='.$charter->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine2()) ?>" width="300px"></a><?php endif; ?>
<?php if($charter->getImmagine3() AND $charter->getImmagine3()!=$img):?><a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine3().'&id='.$charter->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine3()) ?>" width="300px"></a><?php endif; ?>
<?php if($charter->getImmagine4() AND $charter->getImmagine4()!=$img):?><a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine4().'&id='.$charter->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine4()) ?>" width="300px"></a><?php endif; ?>
<?php if($charter->getImmagine5() AND $charter->getImmagine5()!=$img):?><a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine5().'&id='.$charter->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine5()) ?>" width="300px"></a><?php endif; ?>
<?php if($charter->getImmagine6() AND $charter->getImmagine6()!=$img):?><a href="<?php echo url_for('charter/showimage?img='.$charter->getImmagine6().'&id='.$charter->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$charter->getImmagine6()) ?>" width="300px"></a><?php endif; ?>
</div>
</div>
